﻿Imports System.Reflection

Public Class Network
    Implements UCBase.I_Plugin


    Private DevList As New List(Of UCBase.UCSDevice)

    Public ReadOnly Property Devices() As System.Collections.Generic.List(Of UCBase.UCSDevice) Implements UCBase.I_Plugin.Devices
        Get
            Return DevList
        End Get
    End Property

    Public Function GetDevice(ByVal Name As String) As System.Windows.Forms.Control Implements UCBase.I_Plugin.GetDevice
        If Name = "ImageServer" Then Return New ImageServer 'Get Control from Reference Name
        If Name = "ImageClient" Then Return New ImageClient 'Get Control from Reference Name
        Return Nothing

    End Function
    Public Sub Unload() Implements UCBase.I_Plugin.Unload

    End Sub
    Public Sub New()
        DevList.Add(New UCBase.UCSDevice("Image Server", "ImageServer", "Network", "Image Server"))
        DevList.Add(New UCBase.UCSDevice("Image Client", "ImageClient", "Network", "Image Client"))
    End Sub

    Public WriteOnly Property Resources() As UCBase.ResourceManager Implements UCBase.I_Plugin.Resources
        Set(ByVal value As UCBase.ResourceManager)

        End Set
    End Property
End Class
